﻿using System;
using System.Collections.Generic;
using System.Text;
using Bookvar.ObjectModel;

namespace Bookvar.Collaboration
{
    public class CollaborationUserEventArgs : EventArgs
    {
        private readonly CollaborationUser user;

        public CollaborationUserEventArgs(CollaborationUser user)
        {
            if(user == null)
            {
                throw new ArgumentNullException("user");
            }

            this.user = user;
        }

        public CollaborationUser User
        {
            get { return user; }
        }
    }
}
